<?php


namespace plugins\aliyun\controller;
use think\Db;
use cmf\controller\PluginBaseController;


class AdminIndexController extends PluginBaseController
{
    function _initialize()
    {
        $adminId = cmf_get_current_admin_id();//获取后台管理员id，可判断是否登录
        if (!empty($adminId)) {
            $this->assign("admin_id", $adminId);
        } else {
            //TODO no login
        }
    }

    function index()
    {


        return $this->fetch('/admin_index');
    }




}